package com.mla.fastdfs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.mla.fastdfs.pojo.RolePermission;

import java.util.List;

/**
 * @author Jun
 * @version v1.0
 * @date 2020-08-17
 */
public interface RolePermissionService extends IService<RolePermission> {

    void insert(RolePermission record);

    void update(RolePermission record);

    void del(Integer id);

    RolePermission selectByPrimaryKey(Integer id);

    List<RolePermission> getList(RolePermission record);

    PageInfo<RolePermission> pageList(RolePermission record, Integer pageNo, Integer pageSize);

}